﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage_Index.master" AutoEventWireup="true"
    CodeFile="index.aspx.cs" Inherits="index" %>

<asp:Content ID="Content3" ContentPlaceHolderID="Search" runat="Server">
    <meta name="Keywords" content="<%= WebSideConfig.Keywords %>" />
    <meta name="Description" content="<%= WebSideConfig.Description %>" />
    <title><%= WebSideConfig.WebSideName %></title>
</asp:Content>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" runat="Server">
    <div style="float: left; width: 32%;">
        <!--新闻动态-->
        <div class="ui-panel">
            <div class="ui-panel-title">
                <div class="ui-panel-title-r">
                    <div class="ui-panel-title-l">
                        <a href="#">
                            <img src="theme/images/more.gif" />
                        </a>
                        <h1>新闻动态</h1>
                    </div>
                </div>
            </div>
            <div class="ui-panel-content" style="height: 274px; overflow: auto;">
                <div class="ui-news-list">
                    <ul>

                        <%for (int i = 0; i < DT_Newslist.Rows.Count; i++)
                          { %>
                        <li>
                            <span class="ui-news-list-type">[<a href="/news/<%=DT_Newslist.Rows[i]["NewsType"].ToString() %>.shtml"><%=DT_Newslist.Rows[i]["NewsTypeName"].ToString() %></a>]</span>
                            <a class="ui-news-list-link" href='<%=GetNewsDetailUrl(DT_Newslist.Rows[i]["NewsType"].ToString() ,Convert.ToInt32(DT_Newslist.Rows[i]["NewsId"])) %>'><%=DT_Newslist.Rows[i]["Title"].ToString() %></a>
                        </li>
                        <%} %>
                    </ul>
                </div>
            </div>
        </div>

        <!--联系方式-->
        <div class="ui-panel">
            <div class="ui-panel-title">
                <div class="ui-panel-title-r">
                    <div class="ui-panel-title-l">
                        <a href="#">
                            <img src="theme/images/more.gif" />
                        </a>
                        <h1>联系方式</h1>
                    </div>
                </div>
            </div>
            <div class="ui-panel-content">
                <div>
                    <%= new WebConfig().GetConfigValue("LeftPhone")%>
                </div>
            </div>
        </div>
    </div>

    <div style="float: right; width: 68%;">
        <div style="margin-left: 10px;">
            <!--公司简介-->
            <div class="ui-panel">
                <div class="ui-panel-title">
                    <div class="ui-panel-title-r">
                        <div class="ui-panel-title-l">
                            <a href="#">
                                <img src="theme/images/more.gif" />
                            </a>
                            <h1>公司简介</h1>
                        </div>
                    </div>
                </div>
                <div class="ui-panel-content" style="height: 274px; overflow: auto;">
                    <div>
                        <%= new WebConfig().GetConfigValue("IndexAbout")%>
                    </div>
                </div>
            </div>

            <!--业务范围-->
            <div class="ui-panel">
                <div class="ui-panel-title">
                    <div class="ui-panel-title-r">
                        <div class="ui-panel-title-l">
                            <a href="#">
                                <img src="theme/images/more.gif" />
                            </a>
                            <h1>业务范围</h1>
                        </div>
                    </div>
                </div>
                <div class="ui-panel-content">
                    <div class="ui-ywfw">
                        <ul>
                            <%for (int i = 0; i < DT_IndexImg.Rows.Count; i++)
                              { %>
                            <li>
                                <a href="<%=DT_IndexImg.Rows[i]["LinkHref"].ToString() %>">
                                    <img src="<%=DT_IndexImg.Rows[i]["ImgSrc"].ToString() %>" />
                                </a>
                                <p>
                                    <a href="<%=DT_IndexImg.Rows[i]["LinkHref"].ToString() %>"><%=DT_IndexImg.Rows[i]["Title"].ToString() %></a>
                                </p>
                            </li>
                            <%} %>
                        </ul>
                        <div class="clearfix"></div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</asp:Content>
